import request from '@/utils/request'

// 查询登录日志列表
export const list = (query) => request({
  url: '/system/loginInfo/query',
  method: 'post',
  data: query,
})

// 删除登录日志
export const delLogininfor = (infoIds) => request({
  url: '/system/loginInfo/delete',
  method: 'post',
  data: infoIds,
})

// 清空登录日志
export const cleanLogininfor = () => request({
  url: '/system/loginInfo/clean',
  method: 'post',
})
